package com.ktjy.iotorder.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "aaa", url = "http://localhost:7032")
public interface MySelfClient {

    @GetMapping("/product/{id}")
    String getProduct7032(@PathVariable int id);
}
